import axios from 'axios'

export default {
  // 上传文件
  uploadFile(data) {
    return axios({
      method: 'post',
      url: `http://127.0.0.1:8203/local/upload`,
      data: data,
      headers: {
        'Content-Type': 'multipart/form-data'
      }
    })
  },
}
